package com.zimmur.common;

import java.util.HashMap;
import java.util.Map;

public class ConstData {
	public final static String USER_ACCESS_TOKEN="token";
	
	public final static String VERIFY_SEND_MESSAGE="您好，您的验证码是%code%";
	public final static String VERIFY_MOBILE_MESSAGE_SUCCESS="验证码已发送到手机!请注意查收";
	//product=产品/zone=社区
	public final static String STORAGE_FILE_TYPE_PRODUCT="product";
	public final static String STORAGE_FILE_TYPE_ZONE="zone";
	//redis
	
	public final static int REDIS_KEY_TIMEOUT_2=2*60; //2分钟
	public final static int REDIS_KEY_TIMEOUT=10*60; //10分钟
	public final static int REDIS_KEY_TIMEOUT_HOUR=60*60; //60分钟
	public final static Map<String, String> MODULE_MAP = new HashMap<String,String>(){
		{
			put("10","Global");
			put("20", "Account");
			put("30", "Zone");
			put("40", "ClothsMaker");
			put("50", "Order");
			put("60", "DesigerMake");
			put("70", "UserCenter");
		}
	};
	
	public final static String MESSAGE_CATEGORY_NOTIFY="notify";
	
	public final static String MESSAGE_CATEGORY_ORGANIZATION="organization";
	
	public final static String MESSAGE_CATEGORY_SERVICE="service";
	//话题红人
	public final static short TOPIC_TYPE_HOT=(short)1;
	//话题达人
	public final static short TOPIC_TYPE_TALENT=(short)2;
	//话题侠客，创江湖（求助）
	public final static short TOPIC_TYPE_HELP=(short)3;
	public final static String INDEX_ORGANIZATION_WORD="INDEX_ORGANIZA_WORD";
	
	//solr redis字段
	public static final String solr_goodsIds="solr_goodsIds";
	public static final String solr_topicIds="solr_topicIds";
	public static final String solr_designerIds="solr_designerIds";
	
	public static final String REDIS_USERLOGIN_PREFIX="popolook_login_store";
}
